<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/privacy/dlp/v2beta1/storage.proto

namespace Google\Cloud\Dlp\V2beta1;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * A location in Cloud Storage.
 *
 * Generated from protobuf message <code>google.privacy.dlp.v2beta1.CloudStoragePath</code>
 */
class CloudStoragePath extends \Google\Protobuf\Internal\Message
{
    /**
     * The url, in the format of `gs://bucket/<path>`.
     *
     * Generated from protobuf field <code>string path = 1;</code>
     */
    private $path = '';

    public function __construct() {
        \GPBMetadata\Google\Privacy\Dlp\V2Beta1\Storage::initOnce();
        parent::__construct();
    }

    /**
     * The url, in the format of `gs://bucket/<path>`.
     *
     * Generated from protobuf field <code>string path = 1;</code>
     * @return string
     */
    public function getPath()
    {
        return $this->path;
    }

    /**
     * The url, in the format of `gs://bucket/<path>`.
     *
     * Generated from protobuf field <code>string path = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setPath($var)
    {
        GPBUtil::checkString($var, True);
        $this->path = $var;

        return $this;
    }

}

